package Data;

public class GoodData2 extends Data{

	private int ID;
	private String produceDate;
	private String scrapDate;
	private double costPrice;
	
	public GoodData2(int id,String pDate,String sDate,double cPrice){
		ID = id;
		produceDate = pDate;
		scrapDate = sDate;
		costPrice = cPrice;
	}
	
	public int getID(){
		return ID;
	}
	
	public void setID(int i){
		ID =i;
	}
	
	public String getProduceData(){
		return produceDate;
	}
	
	public void setProduceData(String pData){
		produceDate = pData;
	}
	
	public String getscrapDate(){
		return scrapDate;
	}
	
	public void setscrapDate(String sData){
		scrapDate = sData;
	}
	
	public double getcostPrice(){
		return costPrice;
	}
	
	public void setcostPrice(Double cPrice){
		costPrice = cPrice;
	}
}
